<#macro left page_tab="">
<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <!-- Sidebar user panel -->
        <div class="user-panel">
            <div class="pull-left image">
                <img src="/admin/AdminLTE-mini/dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">
            </div>
            <div class="pull-left info">
                <p>LLK 运营主管</p>
                <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
            </div>
        </div>
        <!-- search form -->
        <form action="#" method="get" class="sidebar-form">
            <div class="input-group">
                <input type="text" name="q" class="form-control" placeholder="Search...">
                <span class="input-group-btn">
                <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i>
                </button>
              </span>
            </div>
        </form>
        <!-- /.search form -->
        <!-- sidebar menu: : style can be found in sidebar.less -->
        <ul class="sidebar-menu">
            <li class="header">主导航</li>

            <!-- ********菜单分割线******** -->


            <li class="treeview">
                <a href="/admin/index">
                    <i class="fa fa-dashboard"></i> <span>仪表盘</span>
                    <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
                </a>
                <ul class="treeview-menu">
                    <li><a href="#"><i class="fa fa-circle-o"></i> 仪表盘 v1</a></li>
                    <li><a href="#"><i class="fa fa-circle-o"></i> 仪表盘 v2</a></li>
                </ul>
            </li>


            <!-- ********菜单分割线******** -->


            <li class="treeview   <#if page_tab="userList"> active </#if>    ">
                <a href="#">
                    <i class="fa fa-files-o"></i>
                    <span>用户管理</span>
                    <span class="pull-right-container">
              <span class="label label-primary pull-right">2</span>
            </span>
                </a>
                <ul class="treeview-menu">
                    <li

                        <#if page_tab="userList">  class="active"  </#if>


                    ><a href="/admin/user/index"><i class="fa fa-circle-o"></i> 用户列表</a></li>
                    <li><a href="#"><i class="fa fa-circle-o"></i> 新增用户</a></li>
                    </li>
                </ul>
            </li>


            <!-- ********菜单分割线******** -->


            <li>
                <a href="#">
                    <i class="fa fa-th"></i> <span>房间管理</span>
                    <span class="pull-right-container">
                         <small class="label pull-right bg-green">new</small>
                     </span>
                </a>
            </li>




            <!-- ********菜单分割线******** -->


            <li>
                <a href="#">
                    <i class="fa fa-th"></i> <span>可用IP地址列表</span>
                    <span class="pull-right-container">
                         <small class="label pull-right bg-green">new</small>
                     </span>
                </a>
            </li>



            <!-- ********菜单分割线******** -->




            <li class="treeview">
                <a href="#">
                    <i class="fa fa-pie-chart"></i>
                        <span>图表</span>
                    <span class="pull-right-container">
                  <i class="fa fa-angle-left pull-right"></i>
                </span>
                </a>
                <ul class="treeview-menu">
                    <li><a href="../charts/chartjs.html"><i class="fa fa-circle-o"></i> ChartJS</a></li>
                    <li><a href="../charts/morris.html"><i class="fa fa-circle-o"></i> Morris</a></li>
                    <li><a href="../charts/flot.html"><i class="fa fa-circle-o"></i> Flot</a></li>
                    <li><a href="../charts/inline.html"><i class="fa fa-circle-o"></i> Inline charts</a></li>
                </ul>
            </li>


            <!-- ********菜单分割线******** -->



            <li class="header">标签</li>
            <li><a href="#"><i class="fa fa-circle-o text-red"></i> <span>Important</span></a></li>
            <li><a href="#"><i class="fa fa-circle-o text-yellow"></i> <span>Warning</span></a></li>
            <li><a href="#"><i class="fa fa-circle-o text-aqua"></i> <span>Information</span></a></li>
        </ul>
    </section>
    <!-- /.sidebar -->
</aside>

</#macro>